<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>订单管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<load href="__PUBLIC__/Js/Base.js" />
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<link href="__PUBLIC__/css/skin.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
 <!--
	function add(){
		window.location.href="__URL__/add";
	}
	function edit(id){
		window.location.href="__URL__/edit/id/"+id;
	}
	function del(id){
		if (confirm("确定要删除商品吗？"))
		ThinkAjax.send('__URL__/delete','ajax=1&id='+id,complete,'result');
	}
	function complete(data,status){
		if (status==1)
		{
			alert("操作成功");
			window.location.href="__URL__";
		}
	}
 //-->
 </script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<!-- 页面顶部标题栏 -->
	<tr>
		<td width="935" valign="top"
			background="__PUBLIC__/images/content-bg.gif" colspan="2">
		<table width="100%" height="31" border="0" cellpadding="0"
			cellspacing="0" class="left_topbg" id="table2">
			<tr>
				<td height="31">
				<div class="titlebt">商品</div>
				</td>
			</tr>
		</table>
		</td>
		<td width="16" valign="top"
			background="__PUBLIC__/images/mail_rightbg.gif">&nbsp;</td>
	</tr>

	<tr>
		<td colspan="2">
		<form id="listForm" name="listForm" method="POST" action="__URL__/">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td height="31" colspan="8">
				<div>查询列表</div>
				</td>
			</tr>
			<tr>
				<td height="25%" align="right">订单编号</td>
				<td height="25%" align="left">
					<input name="order_no" type="text" id="order_no" size="30" value="{$condForm.order_no}" />
				</td>
				<td height="25%" align="right">物流编号</td>
				<td height="25%" align="left">
					<input name="express_no" type="text" id="express_no" size="30" value="{$condForm.express_no}" />
				</td>
			</tr>
			<tr>
				<td height="25%" align="right">产品编号</td>
				<td height="25%" align="left">
					<input name="product_no" type="text" id="product_no" size="30" value="{$condForm.product_no}" />
				</td>
				<td height="25%" align="right">产品名称</td>
				<td height="25%" align="left">
					<input name="product_name" type="text" id="product_name" size="30" value="{$condForm.product_name}" />
				</td>
			</tr>
			<tr>
				<td height="25%" align="right">First Name</td>
				<td height="25%" align="left">
					<input name="first_name" type="text" id="first_name" size="30" value="{$condForm.first_name}" />
				</td>
				<td height="25%" align="right">Last Name</td>
				<td height="25%" align="left">
					<input name="last_name" type="text" id="last_name" size="30" value="{$condForm.last_name}" />
				</td>
			</tr>
			<tr>
				<td colspan="8" align="center"><input type="submit" value="查询"></td>
			</tr>
		</table>
		</form>
		</td>
	</tr>

	<tr>
		<td>
		<form id="listForm" name="listForm" method="POST"
			action="__URL__/insert">
		<table width="100%" border="1" cellspacing="0" cellpadding="0"
			class="nowtable">
			<tr>
				<th class="list_th">序号</th>
				<th class="list_th">订单编号</th>
				<th class="list_th">物流编号</th>
				<th class="list_th">currency</th>
				<th class="list_th">price</th>
				<th class="list_th">下单时间</th>
				<th class="list_th">Fist Name</th>
				<th class="list_th">Last Name</th>
				<th class="list_th">Country</th>
				<th class="list_th">City</th>
				<th class="list_th">State</th>
				<th class="list_th">Status</th>
			</tr>
			<volist name="list" id="vo">
			<tr <eq name="mod" value="0"> bgcolor="#f2f2f2" </eq>
				<eq name="mod" value="1">
					bgcolor="#FFFFFF"
				</eq>
			>
				<td width="5%" height="30" align="center" class="left_txt2">{$i}</td>
				<td width="5%" align="center"><a href="#" onClick="edit({$vo.id})">{$vo.order_no}</a></td>
				<td width="5%" height="30" align="center">{$vo.express_no}</td>
				<td width="5%" height="30" align="center">{$vo.currency}</td>
				<td width="8%" height="30" align="right" >{$vo.price}</td>
				<td width="7%" height="30" align="center">{$vo.create_time}</td>
				<td width="7%" height="30" align="center">{$vo.first_name}</td>
				<td width="7%" height="30" align="center">{$vo.last_name}</td>
				<td width="6%" height="30" align="center">{$vo.country}</td>
				<td width="6%" height="30" align="center">{$vo.city}</td>
				<td width="6%" height="30" align="center">{$vo.state}</td>
				<td width="6%" height="30" align="center">{$vo.order_status}</td>
			</tr>
			</volist>
			<tr>
				<td align="right" colspan="17">{$page}</td>
			</tr>
		</table>
		</form>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
</body>
</html>